package fun.xinnix.service.impl;

import fun.xinnix.service.ConsumerService;
import fun.xinnix.service.OrderService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

@Service
public class ConsumerServiceImpl implements ConsumerService {
    @Reference
    OrderService orderService;

    @Override
    public String createOrderByUser(String username) {
        return orderService.createOrder(username);
    }
}
